package com.music.service.impl;

import com.music.dao.MvTypeMapper;
import com.music.entity.MvType;
import com.music.service.MvTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname MvTypeServiceImpl
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/7/4 12:53
 * @Created by Administrator
 */
@Slf4j
@Service
public class MvTypeServiceImpl implements MvTypeService {

    @Autowired
    private MvTypeMapper mvTypeMapper;

    @Override
    public List<MvType> getAllMvType() {
        List<MvType> mvTypeList = mvTypeMapper.selectAllType();
        return mvTypeList;
    }
}
